import Vue from 'vue'
import request from '$exp/utils/request'

export function dialogGetList(data) {
  return request({
    url: '/dialog/getList',
    method: 'post',
    data,
  })
}

export function getSysTypeByCatId(catId) {
  return request({
    url: `${Vue.prototype.$requestConfig.portalUrl}/sys/sysType/v1/getByParentId?catId=${catId}`,
    method: 'get',
  })
}
